package org.dtree.pv.sys.service;

import org.dtree.pv.framework.base.model.BaseModel;
import org.dtree.pv.framework.base.service.BaseService;
import org.dtree.pv.sys.models.Sys_menu;
import org.dtree.pv.sys.models.Sys_role;
import org.dtree.pv.sys.models.Sys_user;

import java.util.List;
import java.util.Set;

public interface SysUserService extends BaseService<Sys_user> {


    Sys_user getUserByUsername(String username);

    List<Sys_role> getRolesByUsername(String username);

    List<String> getRoleNamesByUsername(String username);

    Set<String> getPermissionByUsername(String username);

}
